<?php

namespace app\admin\validate;

use think\Validate;

class FriendshipLink extends Validate
{
    protected $rule = [
        'name'  =>  'require',
        'url' =>  'require|url',
        'target' => 'require|alphaDash|min:5|max:6'
    ];
}